Skip to content

Conversation

fbosio
Copy link

@fbosio fbosio commented Jun 11, 2024

Summary
Let npm decide which version to use automatically by removing specific ranges from package.json.

According to the npm docs, this change is valid.
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#dependencies

This is a fix for #349 (comment).

Test Plan

Already ran :Prettier in vim8 and nvim with a test.html open containing the below line.

<!DOCTYPE html><html><head><title>test</title></head><body>test</body></html>

Running :Prettier produced the expected results.

<!doctype html>
<html>
        <head>
                <title>test</title>
        </head>
        <body>
                test
        </body>
</html>

According to the npm docs, this change is valid.
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#dependencies

So let npm decide which version to use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant